package com.lh.service.center;

import com.lh.pojo.Users;
import com.lh.pojo.bo.center.UserInfoBO;

/**
 * @program: foodie-dev
 * @description:
 * @author: LH
 * @create: 2022-05-25 09:30
 **/
public interface UserInfoService {

    /**
     * 根据userId获取用户信息
     * @param userId
     * @return
     */
    public Users getUserInfo(String userId);

    /**
     * 更新用户信息
     * @param userId
     * @param userInfoBO
     * @return
     */
    public Users updateUserInfo(String userId, UserInfoBO userInfoBO);

    /**
     * 更新用户头像
     * @param userId
     * @param url
     * @return
     */
    public Users uploadFace(String userId, String url);

}
